﻿using Mono.Linker.Tests.Cases.Expectations.Assertions;

namespace Mono.Linker.Tests.Cases.Statics
{
    public class StaticFieldInitializer
    {
        public static void Main()
        {
            C.Foo();
        }

        [KeptMember(".cctor()")]
        static class C
        {
            [Kept]
            public static object o = new object();

            [Kept]
            public static object Foo()
            {
                return o;
            }
        }
    }
}
